<%--
  Created by IntelliJ IDEA.
  User: naojiang
  Date: 2017/7/14
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>主页</title>
    <style>
        html,body{
            margin: 0;
            height: 100%;
            font-size: 14px;
        }
        body>header{
            line-height:80px;
            text-align: center;
            background-color: aliceblue;
        }
        body>header>h1{
            display: inline;
            text-align: center;
        }
        .body{
            position:absolute;
            top:80px;
            bottom: 0;
            width: 100%;
        }
        .body>menu{
            position: absolute;
            left:0;
            width: 200px;
            height: 100%;background-color: aqua;
            box-sizing: border-box;
        }
        .body>main{
            margin-left: 200px;
            height: 100%;
            display: block;
        }
        main>iframe{
            height: 100%;
            width: 100%;
            border: 0;
            display: block;
            width: 100%;
        }

    </style>
</head>
<body>
<header>
    <h1>用户权限管理系统</h1>
    <span>
             <b>${sessionScope.currentUser.name}</b>
             <a href="login.jsp" >退出登录</a>
         </span>
</header>
<section class="body">
    <menu>
        <ul>
            <li>
                <a href="#" target="mainFrame">VIP客户查询</a>
            </li>
            <li>
                <a href="#" target="mainFrame">录入VIP客户</a>
            </li>
            <li>
                <a target="mainFrame">VIP客户管理</a>
            </li>
            <li>
                <a target="mainFrame">查看VIP消费记录</a>
            </li>
            <li>
                <a target="mainFrame">录入VIP消费记录</a>
            </li>
            <li>
                <a target="mainFrame">VIP消费记录管理</a>
            </li>
            <li>
                <a href="updatepassword.do" target="mainFrame">修改密码</a>
            </li>
        </ul>
    </menu>
    <main>
        <iframe name="mainFrame" src="welcome.do"></iframe>
    </main>
</section>
</body>
</html>
